package com.naiterui.ehp.bs.cms.modules.oms.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.util.Date;

import lombok.Data;

/**
 * <pre>
 *      订单导出
 * </pre>
 *
 * @author 王泽浩
 * @date 2019/11/27 10:50 上午
 * @since 1.0.0
 */
@Data
public class OrderExcelVO implements java.io.Serializable {

    /**
     * 订单号
     */
    @Excel(name = "订单号", orderNum = "0", width = 20)
    private String orderSn;

    /**
     * 开单医生
     */
    @Excel(name = "开单医生", orderNum = "1", width = 20)
    private String doctorName;

    /**
     * 收货人
     */
    @Excel(name = "收货人", orderNum = "2", width = 20)
    private String receiver;

    /**
     * 收件手机号
     */
    @Excel(name = "收件手机号", orderNum = "3", width = 20)
    private String phone;

    /**
     * 地址
     */
    @Excel(name = "地址", orderNum = "4", width = 60)
    private String address;

    /**
     * 订单金额(分)
     */
    @Excel(name = "订单金额", orderNum = "5", width = 15, numFormat = "###,##0.00")
    private Double totalAmount;

    /**
     * 下单时间
     */
    @Excel(name = "下单时间", orderNum = "6", format = "yyyy-MM-dd HH:mm:ss", width = 25)
    private Date createdAt;

    /**
     * 发货时间
     */
    @Excel(name = "发货时间", orderNum = "7", format = "yyyy-MM-dd HH:mm:ss", width = 25)
    private Date sendTime;
    /**
     * 支付时间
     */
    @Excel(name = "支付时间", orderNum = "8", format = "yyyy-MM-dd HH:mm:ss", width = 25)
    private Date payTime;

    /**
     * 订单状态 1:待付款,2:待审核,3:订单审核完成,4:库房分配完成,5:药店已接收,6:订单已发货,7:订单已签收,8:已取消
     */
    @Excel(name = "订单状态", orderNum = "9", width = 20, replace = {"待付款_1", "待审核_2", "订单审核完成_3", "库房分配完成_4", "药店已接收_5", "订单已发货_6", "订单已签收_7", "已取消_8"})
    private Integer orderStatus;

    /**
     * 发货药店
     */
    @Excel(name = "发货药店", orderNum = "10", width = 20)
    private String warehouseName;

    /**
     * 快递公司
     */
    @Excel(name = "快递公司", orderNum = "11", width = 20)
    private String logisticsCompany;
    /**
     * 物流单号
     */
    @Excel(name = "物流单号", orderNum = "12", width = 20)
    private String deliveryId;

    /**
     * sku编码
     */
    @Excel(name = "sku编码", orderNum = "13", width = 20)
    private String skuNumber;

    /**
     * sku名称
     */
    @Excel(name = "sku名称", orderNum = "14", width = 40)
    private String skuName;

    /**
     * sku售价
     */
    @Excel(name = "商品单价", orderNum = "15", width = 15, numFormat = "###,##0.00")
    private Double salePrice;

    /**
     * sku数量
     */
    @Excel(name = "数量", orderNum = "16", width = 20)
    private Integer quantity;

}
